from flask import Flask
import getStockInterface
import sys
app = Flask(__name__)


@app.route('/')
def hello_world():
    return 'Hello World!'
@app.route('/getStock')
def getStock():
    print(sys.executable)
    result = getStockInterface.get_stock_quant()
    return result

if __name__ == '__main__':
    app.run()
